package com.projet.glb2r.Objet;


public class ObjetFacture{

	private int id;
	private int idEntrenprise;
	private int idClient;
	private String date;
	private boolean enCours;
	
	public ObjetFacture() {
		idEntrenprise = -1;
		idClient = -1;
		date = "NC";
	}
	
	public ObjetFacture(int idEntrenprise, int idClient, String date){
		this.idEntrenprise = idEntrenprise;
		this.idClient = idClient;
		this.date = date;
	}
	
	public int getIdEntrenprise(){
		return idEntrenprise;
	}
	public void setIdEntrenprise(int idEntrenprise){
		this.idEntrenprise = idEntrenprise;
	}
	
	public int getIdClient(){
		return idClient;
	}
	public void setIdClient(int idClient){
		this.idClient = idClient;
	}
	
	public String getDate(){
		return date;
	}
	public void setDate(String date){
		this.date = date;
	}
	
	public int getId(){
		return id;
	}
	public void setId(int id){
		this.id = id;
	}
	
	public boolean isEnCours(){
		return enCours;
	}
	public void setEnCours(boolean etat){
		this.enCours = etat;
	}

}
